﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Web;

namespace gAMS_Sacombank.Web.Services.AssetManagement.Interfaces.AssCommon
{
    [ServiceContract]
    public interface IGoods
    {
        [OperationContract]
        IEnumerable<CM_GOOD> GetByAllGoods();

        [OperationContract]
        String InsertGoods(CM_GOOD data);

        [OperationContract]
        String UpdateGoods(CM_GOOD data);

        [OperationContract]
        String DeleteGoods(string id);

        [OperationContract]
        IEnumerable<CM_GOOD> GetByTopGoods(string _top, string _where, string _order);

        [OperationContract]
        String ApproveGoods(CM_GOOD data);
    }
}